package com.kushe.util.core;

import org.nutz.dao.Dao;
import org.nutz.dao.impl.NutDao;

import javax.sql.DataSource;


/**
 *
 * 得到Nutz的Dao实例
 *
 * Created by WhiteBlue on 15/4/30.
 */
public class DbUtils {

    public static Dao getNutzDao() {
        return new NutDao((DataSource) SpringFactory.getObject("dataSource"));
    }


}
